package cn.geminis.devops.jenkins;

def analyze() {
    def params = ' -Dsonar.language=ts -Dsonar.sources=src';

    nodejs(nodeJSInstallationName: env.BUILD_TOOL, configId: 'npmrc') {
        new Sonar().analyze(params);
    }

}